#include <stdio.h>
int main(){
   int i = 0;
   int* j = &i;
   printf( "i is %d and j is %p and j points to %d.\n", i, j, *j );
   j = j + 1;
   printf( "i is %d and j is %p and j points to %d.\n", i, j, *j );

   double x = 3.14;
   double* p = &x;
   printf( "x is %f and p is %p and p points to %f.\n", x, p, *p );
   p = p + 1;
   printf( "x is %f and p is %p and p points to %f.\n", x, p, *p );

   return 0;
}
